from __future__ import unicode_literals
from django.db import models

class Route(models.Model):
    id = models.IntegerField(primary_key=True)
    nom = models.CharField(max_length=50L)
    distance = models.FloatField()
    ville_depart = models.CharField(max_length=50L, blank=True)
    ville_arrivee = models.CharField(max_length=50L, blank=True)
    id_parent = models.IntegerField()
    class Meta:
        db_table = 'route'


